import axios from 'axios'

const myRequest =axios.create({
    baseURL:'http://121.89.205.189:3000/api',
    timeout:6000
})


myRequest.interceptors.request.use(config=>{
    return config
},(error)=>{
    console.log(error);
})


myRequest.interceptors.response.use(response=>{
    return response
},(error)=>{
    console.log(error);
})

export default myRequest